import request from"@/utils/request"
export function login(data: { username: string; password: string }) {
  return request({
    url: '/api/auth/login',
    method: 'post',
    data  // 保持参数结构一致
  })
}